<%@page isELIgnored="false" import="java.net.*" %>
<%@taglib prefix="tiles" uri="struts-tiles" %>
<%@taglib prefix="c" uri="jstl" %>
<html:hidden property="tlt_alertas" value="<tiles:insert page="/CalcularNumeroAlertas.do" />"/>
		<div id="wrapper">
			<div id="container">
				<div id="head">
					<img src="images/logoMC.gif" alt="Master Card" class="logoMC" />
					<h1>
                                                <b>SAMM</b>
						<br />
                                                Sponsorship Assets Management M&eacute;xico					</h1>
<c:choose>
<c:when test="${not empty UserLogin.actualRoleName }">
<c:choose>
<c:when test="${UserLogin.actualRoleId eq 1}">
					<div id="menu">
						<ul>
							<li class="mCatalogos">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
							<li class="mAssets"><a href="${URLBase}ListarCampanas.do">Campa&ntilde;as</a></li>
							<li class="mAssets"><a href="${URLBase}ListarPaquetesAsignados.do">Assets</a></li>
							
                                                        <c:if test="${NumeroAlertas eq 0}"  >
                                                                <c:if test="${UserLogin.menuAct ne 6}"  >
                                                                    <li class="mAlertas"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta_w"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>         
                                                                <c:if test="${UserLogin.menuAct eq 6}"  >
                                                                    <li class="mAlertasAct"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta_w"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>
                                                            </c:if>
                                                            <c:if test="${NumeroAlertas ne 0}"  >
                                                                <c:if test="${UserLogin.menuAct ne 6}"  >
                                                                    <li class="mAlertas"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>         
                                                                <c:if test="${UserLogin.menuAct eq 6}"  >
                                                                    <li class="mAlertasAct"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>
                                                            </c:if>
							
                                                        <li class="mTareas"><a href="${URLBase}MenuTareas.do" class="active">Tareas</a></li>
						</ul>
					</div>
</c:when>
<c:when test="${UserLogin.actualRoleId eq 2}">
					<div id="menu">
						<ul>
							<li class="mAssets"><a href="${URLBase}CampanasPorAutorizar.do">Campa&ntilde;as</a></li>
							<li class="mCatalogos"><a href="Catalogos.do">Catalogos</a></li>
							<!-- 
							<li class="mUsuarios"><a href="SolicitarPaquetePreparacion.do">Solicitar</a></li>
							 -->
							<li class="mUsuarios"><a href="Usuarios.do">Usuarios</a></li>
							<li class="mReportes"><a href="Usuarios.do">Reportes</a></li>
							<li class="mAssets"><a href="Assets.do">Assets</a></li>
							
                                                        <c:if test="${NumeroAlertas eq 0}"  >
                                                                <c:if test="${UserLogin.menuAct ne 6}"  >
                                                                    <li class="mAlertas"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta_w"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>         
                                                                <c:if test="${UserLogin.menuAct eq 6}"  >
                                                                    <li class="mAlertasAct"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta_w"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>
                                                            </c:if>
                                                            <c:if test="${NumeroAlertas ne 0}"  >
                                                                <c:if test="${UserLogin.menuAct ne 6}"  >
                                                                    <li class="mAlertas"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>         
                                                                <c:if test="${UserLogin.menuAct eq 6}"  >
                                                                    <li class="mAlertasAct"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>
                                                            </c:if>
							
                                                        <li class="mTareas"><a href="${URLBase}MenuTareas.do" class="active">Tareas</a></li>
						</ul>
					</div>
</c:when>
<c:when test="${UserLogin.actualRoleId eq 3}">
					<div id="menu">
						<ul>
							<li class="mCatalogos">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
							<li class="mAssets"><a href="${URLBase}ListarCampanasBanco.do">Campa&ntilde;as</a></li>
							
                                                        <c:if test="${NumeroAlertas eq 0}"  >
                                                                <c:if test="${UserLogin.menuAct ne 6}"  >
                                                                    <li class="mAlertas"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta_w"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>         
                                                                <c:if test="${UserLogin.menuAct eq 6}"  >
                                                                    <li class="mAlertasAct"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta_w"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>
                                                            </c:if>
                                                            <c:if test="${NumeroAlertas ne 0}"  >
                                                                <c:if test="${UserLogin.menuAct ne 6}"  >
                                                                    <li class="mAlertas"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>         
                                                                <c:if test="${UserLogin.menuAct eq 6}"  >
                                                                    <li class="mAlertasAct"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>
                                                            </c:if>
							
                                                        <li class="mTareas"><a href="${URLBase}MenuTareas.do" class="active">Tareas</a></li>
						</ul>
					</div>
</c:when>
<c:when test="${UserLogin.actualRoleId eq 4}">
					<div id="menu">
						<ul>
							<li class="mCatalogos">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
							
                                                        <c:if test="${NumeroAlertas eq 0}"  >
                                                                <c:if test="${UserLogin.menuAct ne 6}"  >
                                                                    <li class="mAlertas"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta_w"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>         
                                                                <c:if test="${UserLogin.menuAct eq 6}"  >
                                                                    <li class="mAlertasAct"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta_w"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>
                                                            </c:if>
                                                            <c:if test="${NumeroAlertas ne 0}"  >
                                                                <c:if test="${UserLogin.menuAct ne 6}"  >
                                                                    <li class="mAlertas"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>         
                                                                <c:if test="${UserLogin.menuAct eq 6}"  >
                                                                    <li class="mAlertasAct"><a href="${URLBase}Alerts.do">Alertas</a><span class="alerta"><tiles:insert page="/CalcularNumeroAlertas.do" /></span></li>
                                                                </c:if>
                                                            </c:if>
							
                                                        <li class="mTareas"><a href="${URLBase}MenuTareas.do" class="active">Tareas</a></li>
						</ul>
					</div>
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>
</c:when>
<c:when test="${empty UserLogin.actualRoleName }">
<!-- 
					<div id="menu">
						<ul>
							<li class="mCatalogos"><a href="#">Catalogos</a></li>
							<li class="mUsuarios"><a href="#">Usuarios</a></li>
							<li class="mAssets"><a href="Assets.do">Assets</a></li>
							<li class="mFlujos"><a href="Flujos.do">Flujos</a></li>
							<li class="mAlertas"><a href="#">Alertas</a><span class="alerta">21</span></li>
							<li class="mTareas"><a href="#" class="active">Tareas</a></li>
						</ul>
					</div>
 -->
 </c:when>
</c:choose>
				</div>
				<div id="content">
					<tiles:insert template="HeadUsuario.jsp" />

